//
//  ViewController.m
//  Fddg
//
//  Created by lanouhn on 16/7/22.
//  Copyright © 2016年 lanouhn. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()


@property (weak, nonatomic) IBOutlet UIView *aView;

@property (nonatomic, assign) CGRect initFrame;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.initFrame = self.aView.frame;
    
}

- (IBAction)btnAction:(UIButton *)sender {
    
    self.aView.frame = CGRectMake(self.initFrame.origin.x, self.initFrame.origin.y, self.initFrame.size.width, self.initFrame.size.height + 150);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
